package com.chiry.shop.app.feign;


import com.chiry.common.bo.user.UserBO;
import com.chiry.common.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("shop-user")
public interface UserFeign {
    @RequestMapping("/user/findUser/{id}")
    public Result<UserBO> findUserById(@PathVariable("id") Long id);
}
